{include file=$header_start}
{include file=$header_end}
{strip}
<link rel="stylesheet" type="text/css" href="{$siteroot}/templates/default/style/dashboard.css">
<script src="{$siteroot}/includes/js/myaccount.js" type="text/javascript"></script>
{/strip}
   <!-- MIDDLE CONTAIN GOES HERE -->
<section class="middle_portion">
	<section class="inner_head">Dashboard</section>
    <section class="inner_containstart">
    	<!-- dashboard Left Content Start -->
        	{include file=$cms_left_content}
        <!-- dashboard Left Content End -->
        <!-- dashboard Right Content Start -->
        	<section class="dash_right">
        	                {if $msg}{$msg}{/if}
                            {if $errorMsg}<div class='error_msg'><span>{$errorMsg}</span></div>{/if}
                <section class="title_box">
                    <h4>Change Profile Photo</h4>
                    <section class="clear"></section>
                </section>
                  <form method="post" action="" name="frmMngPhoto" id="frmMngPhoto" enctype="multipart/form-data">
                <section class="profile_wrapp">
                    <dl style="width:85%">
                        <dt><label>Upload new photo :  </label></dt>
                        <dd><input type="file" name="photo" id="photo"/></dd>
                        <section class="clear"></section>
                    </dl>
                      <dl style="width:85%">
                        <dt><label>&nbsp;  </label></dt>
                        <dd>Image size should be greater than or equal to (130 width X 130 height)</dd>
                        <section class="clear"></section>
                    </dl>
                    <section class="clear"></section>
                    
                    <section class="bt_save_wrapp">
                    	<input type="submit" value="Save" class="bt_save" name="photo_btn" id="photo_btn"/>
                        <input type="button" value="Cancel" name="cancel_btn" id="cancel_btn" class="bt_save" {if $smarty.session.user_type eq '3'} onclick="window.location.href='{$siteroot}/myaccount/'" {else} onclick="window.location.href='{$siteroot}/profile/{$userDetArray.newcomapnyname}'" {/if}/>
                    </section>
                </section>
            </section>
            </form>
        <!-- dashboard Right Content End -->
        	<section class="clear"></section>
    </section>
</section>
{include file=$footer}
